package com.changgou.goods.service;

import com.changgou.goods.pojo.Album;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AlbumService {
    PageInfo<Album> findPage(Album album,Integer page,Integer size);
    PageInfo<Album> findPage(Integer page,Integer size);
//    多条件搜索查询
    List<Album> findList(Album album);
    void delete(Long id);
    void update(Album album);
    void add(Album album);
    Album findById(long id);
    List<Album> findAll();
}
